{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
 <!--主要内容开始-->
<div class="content-wrapper">
    <section class="content">
        <div class="row">
            <section class="col-lg-12 connectedSortable">
                <div class="box box-default box-solid">
                    <div class="box-header with-border">
                        <span class="fa fa-paperclip" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                        <p class="box-title">预览</p>
                    </div>
                    <form action="">
                    <div class="box-body">



                        <table class="table table-bordered table-striped">
                            <thead>
                            <tr style="background-color:#5fb2dc;">
                                <td>现班级名称</td>
                                <td>原班级名称</td>
                                <td>学生姓名</td>
                                <td>总分</td>
                                <td>排名</td>
                            </tr>
                            </thead>
                            {%if $first_lists%}
                            {%foreach from=$first_lists item=value%}
                            <tr>
                                <td>{%$value.class_name%}</td>
                                <td></td>
                                <td>{%$value.student_name%}</td>
                                <td>{%$value.first_all%}</td>
                                <td>{%$value.rank%}</td>
                            </tr>
                            {%/foreach%}
                            {%/if%}
                            {%if $student_lists%}
                            {%foreach from=$student_lists key=key item=value%}
                            <tr>
                                <td>{%$value.class_name%}</td>
                                <td>{%$value.old_cname%}</td>
                                <td>{%$value.student_name%}</td>
                                <td>{%$value.all%}</td>
                                <td>{%$value.rank%}</td>
                            </tr>
                            {%/foreach%}
                            {%/if%}

                        </table>
                    </div><!--box-body -->
                        <div class="box-footer" style="border-top:0px;">
                            {%$page%}
                        </div>
                    </form>
                    <form action="">
                        <input type="hidden" name="aim_id" value="{%$aim%}">
                        <input type="hidden" name="grade_id" value="{%$grade_id%}">
                        <input type="hidden" name="semester_id" value="{%$semester_id%}">
                        <input type="hidden" name="a" value="classstudent.sdiv">
                        <input type="hidden" name="check" value="1">
                    <div class="box-footer text-center">
                        <button class="btn btn-primary" type="submit">确认</button>
                    </div>

                    </form>
                </div><!--box box-default box-solid-->
            </section>

        </div><!--row-->
    </section>
</div>
  <!--主要内容结束-->
{%include file="index.footer.tpl.php"%}
